From 99c154360fb78364578ef8f59d70aeb1a1d32db8 Mon Sep 17 00:00:00 2001 From: "cl349@firebug.cl.cam.ac.uk" Date: Thu, 15 Sep 2005 09:13:21 +0000 Subject: [PATCH] Better build fix. Signed-off-by: Christian Limpach --- tools/libxc/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tools/libxc/Makefile b/tools/libxc/Makefile index c4f6849fcd..57a24a22e4 100644 --- a/tools/libxc/Makefile +++ b/tools/libxc/Makefile @@ -23,6 +23,9 @@ SRCS += xc_misc.c SRCS += xc_physdev.c SRCS += xc_private.c SRCS += xc_sedf.c +BUILD_SRCS += xc_linux_build.c +BUILD_SRCS += xc_load_bin.c +BUILD_SRCS += xc_load_elf.c ifeq ($(XEN_TARGET_ARCH),ia64) BUILD_SRCS += xc_ia64_stubs.c @@ -31,15 +34,13 @@ SRCS += xc_ptrace.c SRCS += xc_ptrace_core.c BUILD_SRCS := xc_load_aout9.c -BUILD_SRCS += xc_load_bin.c -BUILD_SRCS += xc_load_elf.c -BUILD_SRCS += xc_linux_build.c BUILD_SRCS += xc_linux_restore.c BUILD_SRCS += xc_linux_save.c BUILD_SRCS += xc_vmx_build.c -BUILD_SRCS += xg_private.c endif +BUILD_SRCS += xg_private.c + CFLAGS += -Wall CFLAGS += -Werror CFLAGS += -O3 -- 2.30.2